package com.applet.enums;

public enum ResultEnums {

    SERVER_ERROR(-1,"系统内部错误"),

    RETURN_SUCCESS(200,"SUCCESS"),

    RETURN_SUCCESS_BINDING_LOCK(200,"绑定成功"),

    NULL_LOCK_INFO(1001,"锁号不存在"),

    NULL_USER_INFO(2002,"用户不存在"),

    LOCK_REPEAT_BINDING(1002,"此锁已被绑定"),

    NULL_LOCK_INFOS(1003,"此账号下无锁");


    private Integer code;

    private String msg;

    ResultEnums(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }
    public void setMsg(String msg) {
        this.msg = msg;
    }
}


